<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Core Plot (iOS): Source/CPTNumericDataType.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="core-plot-logo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Core Plot (iOS)
   
   </div>
   <div id="projectbrief">Cocoa plotting framework for Mac OS X and iOS</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript" src="dynsections.js"></script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Animation&#160;&&#160;Constants</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_c_p_t_numeric_data_type_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">Source/CPTNumericDataType.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_c_p_t_numeric_data_type_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#import &lt;Foundation/Foundation.h&gt;</span>
<a name="l00002"></a>00002 
<a name="l00004"></a>00004 
<a name="l00008"></a><a class="code" href="_c_p_t_numeric_data_type_8h.html#adee16eda6f12a44b4cb974ba9b069b44">00008</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="_c_p_t_numeric_data_type_8h.html#adee16eda6f12a44b4cb974ba9b069b44" title="Enumeration of data formats for numeric data.">_CPTDataTypeFormat</a> {
<a name="l00009"></a><a class="code" href="_c_p_t_numeric_data_type_8h.html#adee16eda6f12a44b4cb974ba9b069b44a179322c0c23b05b71e7ce4e9963571a8">00009</a>     <a class="code" href="_c_p_t_numeric_data_type_8h.html#adee16eda6f12a44b4cb974ba9b069b44a179322c0c23b05b71e7ce4e9963571a8" title="Undefined.">CPTUndefinedDataType</a> = 0,        
<a name="l00010"></a><a class="code" href="_c_p_t_numeric_data_type_8h.html#adee16eda6f12a44b4cb974ba9b069b44a32b8a41515f307d26fbaf8ac43ebd765">00010</a>     <a class="code" href="_c_p_t_numeric_data_type_8h.html#adee16eda6f12a44b4cb974ba9b069b44a32b8a41515f307d26fbaf8ac43ebd765" title="Integer.">CPTIntegerDataType</a>,              
<a name="l00011"></a><a class="code" href="_c_p_t_numeric_data_type_8h.html#adee16eda6f12a44b4cb974ba9b069b44ac84ca449afa8daa1e350f6c0a6fdaf4a">00011</a>     <a class="code" href="_c_p_t_numeric_data_type_8h.html#adee16eda6f12a44b4cb974ba9b069b44ac84ca449afa8daa1e350f6c0a6fdaf4a" title="Unsigned integer.">CPTUnsignedIntegerDataType</a>,      
<a name="l00012"></a><a class="code" href="_c_p_t_numeric_data_type_8h.html#adee16eda6f12a44b4cb974ba9b069b44a5b13dc803df1657891a1970566529073">00012</a>     <a class="code" href="_c_p_t_numeric_data_type_8h.html#adee16eda6f12a44b4cb974ba9b069b44a5b13dc803df1657891a1970566529073" title="Floating point.">CPTFloatingPointDataType</a>,        
<a name="l00013"></a><a class="code" href="_c_p_t_numeric_data_type_8h.html#adee16eda6f12a44b4cb974ba9b069b44a3fe422102ee1d81b2f2b5c97ab820816">00013</a>     <a class="code" href="_c_p_t_numeric_data_type_8h.html#adee16eda6f12a44b4cb974ba9b069b44a3fe422102ee1d81b2f2b5c97ab820816" title="Complex floating point.">CPTComplexFloatingPointDataType</a>, 
<a name="l00014"></a><a class="code" href="_c_p_t_numeric_data_type_8h.html#adee16eda6f12a44b4cb974ba9b069b44a9934e0ca146fdeb7f258b36f06fcf1b2">00014</a>     <a class="code" href="_c_p_t_numeric_data_type_8h.html#adee16eda6f12a44b4cb974ba9b069b44a9934e0ca146fdeb7f258b36f06fcf1b2" title="NSDecimal.">CPTDecimalDataType</a>               
<a name="l00015"></a>00015 }
<a name="l00016"></a>00016 <a class="code" href="_c_p_t_numeric_data_type_8h.html#ab9eb8548b99ca6ad5e1b4646f51f6746" title="Enumeration of data formats for numeric data.">CPTDataTypeFormat</a>;
<a name="l00017"></a>00017 
<a name="l00021"></a><a class="code" href="struct___c_p_t_numeric_data_type.html">00021</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct___c_p_t_numeric_data_type.html" title="Struct that describes the encoding of numeric data samples.">_CPTNumericDataType</a> {
<a name="l00022"></a><a class="code" href="struct___c_p_t_numeric_data_type.html#ad4e9860b55f131370a87d46aaa98e587">00022</a>     <a class="code" href="_c_p_t_numeric_data_type_8h.html#ab9eb8548b99ca6ad5e1b4646f51f6746" title="Enumeration of data formats for numeric data.">CPTDataTypeFormat</a> <a class="code" href="struct___c_p_t_numeric_data_type.html#ad4e9860b55f131370a87d46aaa98e587" title="Data type format.">dataTypeFormat</a>; 
<a name="l00023"></a><a class="code" href="struct___c_p_t_numeric_data_type.html#ae375460a7d977ba9558dd7e91744cb10">00023</a>     <span class="keywordtype">size_t</span> <a class="code" href="struct___c_p_t_numeric_data_type.html#ae375460a7d977ba9558dd7e91744cb10" title="Number of bytes in each sample.">sampleBytes</a>;               
<a name="l00024"></a><a class="code" href="struct___c_p_t_numeric_data_type.html#af184e5c4afb8e48d25a8caf08df60bd0">00024</a>     <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/corefoundation/Reference/CFByteOrderUtils/Reference/reference.html">CFByteOrder</a> <a class="code" href="struct___c_p_t_numeric_data_type.html#af184e5c4afb8e48d25a8caf08df60bd0" title="Byte order.">byteOrder</a>;            
<a name="l00025"></a>00025 }
<a name="l00026"></a>00026 <a class="code" href="_c_p_t_numeric_data_type_8h.html#a0b911106a65975081b0063bf419b294b" title="Struct that describes the encoding of numeric data samples.">CPTNumericDataType</a>;
<a name="l00027"></a>00027 
<a name="l00028"></a>00028 <span class="preprocessor">#if __cplusplus</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
<a name="l00030"></a>00030 <span class="preprocessor">#endif</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span>
<a name="l00034"></a>00034 <a class="code" href="struct___c_p_t_numeric_data_type.html" title="Struct that describes the encoding of numeric data samples.">CPTNumericDataType</a> <a class="code" href="_c_p_t_numeric_data_type_8h.html#ac00abad966bbdb7e7033cf4fa081ed5a" title="Initializes a CPTNumericDataType struct with the given parameter values.">CPTDataType</a>(<a class="code" href="_c_p_t_numeric_data_type_8h.html#ab9eb8548b99ca6ad5e1b4646f51f6746" title="Enumeration of data formats for numeric data.">CPTDataTypeFormat</a> format, <span class="keywordtype">size_t</span> sampleBytes, <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/corefoundation/Reference/CFByteOrderUtils/Reference/reference.html">CFByteOrder</a> byteOrder);
<a name="l00035"></a>00035 <a class="code" href="struct___c_p_t_numeric_data_type.html" title="Struct that describes the encoding of numeric data samples.">CPTNumericDataType</a> <a class="code" href="_c_p_t_numeric_data_type_8h.html#a287d220e26a98dd1a8ec009394d07dc9" title="Initializes a CPTNumericDataType struct from a data type string.">CPTDataTypeWithDataTypeString</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *dataTypeString);
<a name="l00036"></a>00036 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *<a class="code" href="_c_p_t_numeric_data_type_8h.html#a43fbd7520ce09dd3111ae35b7dfdc99b" title="Generates a string representation of the given data type.">CPTDataTypeStringFromDataType</a>(<a class="code" href="struct___c_p_t_numeric_data_type.html" title="Struct that describes the encoding of numeric data samples.">CPTNumericDataType</a> dataType);
<a name="l00037"></a>00037 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a> <a class="code" href="_c_p_t_numeric_data_type_8h.html#a940d1fda41fd6ad9da29d26ccc929f25" title="Validates a data type format.">CPTDataTypeIsSupported</a>(<a class="code" href="struct___c_p_t_numeric_data_type.html" title="Struct that describes the encoding of numeric data samples.">CPTNumericDataType</a> format);
<a name="l00038"></a>00038 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a> <a class="code" href="_c_p_t_numeric_data_type_8h.html#ad93cae77ebeee18937ec36ec28e4d4a9" title="Compares two data types for equality.">CPTDataTypeEqualToDataType</a>(<a class="code" href="struct___c_p_t_numeric_data_type.html" title="Struct that describes the encoding of numeric data samples.">CPTNumericDataType</a> dataType1, <a class="code" href="struct___c_p_t_numeric_data_type.html" title="Struct that describes the encoding of numeric data samples.">CPTNumericDataType</a> dataType2);
<a name="l00039"></a>00039 
<a name="l00041"></a>00041 
<a name="l00042"></a>00042 <span class="preprocessor">#if __cplusplus</span>
<a name="l00043"></a>00043 <span class="preprocessor"></span>}
<a name="l00044"></a>00044 <span class="preprocessor">#endif</span>
</pre></div></div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_c_p_t_numeric_data_type_8h.html">CPTNumericDataType.h</a>      </li>

    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a></li>
   </ul>
 </div>


</body>
</html>
